﻿<%@ Page Title="Add Research" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="AddResearch.aspx.vb" Inherits="Final.AddResearch" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <table width="920" cellspacing="30" 
            style="border-top-style: groove; border-right-style: groove; border-left-style: groove;">
             <tr>
             <td class="style1">
             <h1 style="border-bottom-style: groove">Add Research</h1>
        <br />
       </td>
       </tr>
    </table> 
    <table width="920" cellspacing="30" 
            style="border-bottom-style: groove; border-right-style: groove; border-left-style: groove;">
       <tr>
       <td>
        <h4>Title:</h4>
        </td>
        <td>
        <asp:TextBox ID="tb_title" runat="server" Width="350px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfv_FirstName" runat="server" 
            ControlToValidate="tb_title" ErrorMessage="Please enter a title" 
            ForeColor="#CC0000"></asp:RequiredFieldValidator>
    </td>
    </tr>
   
        <tr>
        <td>
        <h4>Description:</h4> 
        </td>
        <td>
        <asp:TextBox ID="tb_note" runat="server" Width="514px" 
            Height="198px" EnableTheming="True" TextMode="MultiLine"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="tb_note" ErrorMessage="Please enter a brief description" 
            ForeColor="#CC0000"></asp:RequiredFieldValidator>
   </td>
   </tr>
   
    <tr>
    <td>
        <h4>First Page Picture:</h4>
        </td>
        <td>
        <asp:FileUpload ID="fu_picture" runat="server" Width="350px" />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
            ControlToValidate="fu_picture" ErrorMessage="Please add a sample image" 
            ForeColor="#CC0000"></asp:RequiredFieldValidator>
       
    </td>
    </tr>
  
    <tr>
    <td>
        <h4>Category:</h4>
        </td>
        <td>
         <asp:TextBox ID="tb_category" runat="server" Width="350px"></asp:TextBox>
    </td>
    </tr>
   
    <tr>
    <td>
        <h4>University:</h4>
         </td>
        <td>
         <asp:TextBox ID="tb_university" runat="server" Width="350px"></asp:TextBox>
    </td>
    </tr>
  
    <tr>
    <td>
        <h4>Rating:</h4>
         </td>
        <td>
            <asp:RadioButtonList ID="rbl_rating" runat="server" 
                RepeatDirection="Horizontal">
                <asp:ListItem>1</asp:ListItem>
                <asp:ListItem>2</asp:ListItem>
                <asp:ListItem>3</asp:ListItem>
                <asp:ListItem>4</asp:ListItem>
                <asp:ListItem>5</asp:ListItem>
            </asp:RadioButtonList>
    </td>
    </tr>
  
    <tr>
    <td>
        <h4>Contact Email:</h4>
        </td>
        <td>
         <asp:TextBox ID="tb_emailAddress" runat="server" Width="350px" 
            Height="22px"></asp:TextBox>
    </td>
    </tr>
   
    <tr>
    <td>
        <h4>Link:</h4>
        </td>
        <td>
         <asp:TextBox ID="tb_link" runat="server" Width="350px" 
            Height="22px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="tb_note" ErrorMessage="Please enter the address link of the research" 
            ForeColor="#CC0000"></asp:RequiredFieldValidator>
    </td>
    </tr>
   
    <tr>
    <td>
    </td> 
    <td abbr="center">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btn_addSubmit" runat="server" Text="Add" Height="28px" 
            Width="83px" Font-Bold="true" Font-Size="Small" BorderStyle="Groove" />

    </td>
    </tr>
    </table>
    </div>
</asp:Content>
